package com.mypg;

public class Video {
    private int video_id;
    private String video_title;
    private String video_img;
    private String video_content;
    private String video_class;
    private String video_class_sub;
    private String video_length;

    public Video(){}
    public Video(int video_id, String video_title, String video_img, String video_content, String video_class, String video_class_sub,String video_length) {
        this.video_id = video_id;
        this.video_title = video_title;
        this.video_img = video_img;
        this.video_content = video_content;
        this.video_class = video_class;
        this.video_class_sub = video_class_sub;
        this.video_length=video_length;
    }

    public int getVideo_id() {
        return video_id;
    }

    public void setVideo_id(int video_id) {
        this.video_id = video_id;
    }

    public String getVideo_title() {
        return video_title;
    }

    public void setVideo_title(String video_title) {
        this.video_title = video_title;
    }

    public String getVideo_img() {
        return video_img;
    }

    public void setVideo_img(String video_img) {
        this.video_img = video_img;
    }

    public String getVideo_content() {
        return video_content;
    }

    public void setVideo_content(String video_content) {
        this.video_content = video_content;
    }

    public String getVideo_class() {
        return video_class;
    }

    public void setVideo_class(String video_class) {
        this.video_class = video_class;
    }

    public String getVideo_class_sub() {
        return video_class_sub;
    }

    public void setVideo_class_sub(String video_class_sub) {
        this.video_class_sub = video_class_sub;
    }

    public String getVideo_length() {
        return video_length;
    }

    public void setVideo_length(String video_length) {
        this.video_length = video_length;
    }

    @Override
    public String toString() {
        return "Video{" +
                "video_id=" + video_id +
                ", video_title='" + video_title + '\'' +
                ", video_img='" + video_img + '\'' +
                ", video_content='" + video_content + '\'' +
                ", video_class='" + video_class + '\'' +
                ", video_class_sub='" + video_class_sub + '\'' +
                ", video_length='" + video_length + '\'' +
                '}';
    }
}
